package com.cskaoyan.javase.oop3._0abstract._1basic;
/**
 * 
 * @since 14:28
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class Test {
    public static void main(String[] args) {
        BasePerson.testStatic();
        System.out.println(BasePerson.D);

        Student s = new Student();
        s.test();
        s.testAbstract();

        BasePerson bp = new Student();
        bp.testAbstract();

    }
}
// Class 'Student' must either be declared abstract or implement abstract method 'testAbstract()' in 'BasePerson'
class Student extends BasePerson{
    @Override
    public void testAbstract() {
        System.out.println("我实现了抽象父类中的抽象方法testAbstract");
    }

    @Override
    public void testAbstract2() {

    }
    /*@Override
    public void testAbstract() {

    }*/

    public Student() {
    }
}
abstract class BaseTeacher extends BasePerson{
    @Override
    public void testAbstract() {

    }
}